tool
extends EditorScript


const Layer = {
	Role = 1 << 0,
	Player = 1 << 1,
	Enemy = 1 << 2,
	
	Env = 1 << 8,
	Floor = 1 << 9,
	Stairs = 1 << 10,
	Trap = 1 << 11,
	Bridge = 1 << 12,
	
	Item = 1 << 16,
}


func _run():
	pass
	
	PhysicsLayer
	
	var layer = Layer.Role | Layer.Player
	var mask = Layer.Floor | Layer.Stairs | Layer.Bridge
	
	printt(mask, mask - (mask & Layer.Stairs))


